import request from '@/utils/request'


/**
 * 客户工单看板
 * @param {*} param 
 * @param {*} pageSize 
 * @param {*} pageNo 
 */
export function clientBoardPage(param, pageSize, pageNo) {
  const data = {
    pageNo,
    pageSize,
    param: {
      ...param
    }
  }
  return request.post('/orderBoard/clientBoard', data)
}
/**
 * 车间工单看板
 * @param {*} param 
 * @param {*} pageSize 
 * @param {*} pageNo 
 */
export function plantBoardPage(param, pageSize, pageNo) {
  const data = {
    pageNo,
    pageSize,
    param: {
      ...param
    }
  }
  return request.post('/orderBoard/plantBoard', data)
}

/**
 * 工单详情
 * @param {*} param 
 */
export function orderDetail(param) {
  return request.post('/appOrder/orderDetail', param)
}